package com.example.workspace.Dao;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDao {
        public static void main(String[] args){
            ClassPathXmlApplicationContext appContext
                    =  new ClassPathXmlApplicationContext("ApplicationContext.xml");
            TestDemo testDao =  appContext.getBean("testDao",TestDemoImpl.class);
            testDao.baiyang();


        }


}
